<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
  		<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
		<title>点评天下</title>
		<%= javascript_include_tag :defaults %>
		<%= javascript_include_tag "flashobj.js" %>
        <%= javascript_include_tag "validation.js" %>

        <%= stylesheet_link_tag "layout_default.css"%>
        <!--[if lte IE 7]>
         <%= stylesheet_link_tag "patches/patch_grids.css"%>
         <![endif]-->
	<style>
	</style>
	<script language="javascript">

	</script>
	</head>
	
	<body id="mainBody">
      <div id="page_margins">
	<div id="page">
		<div id="header">
	<div class="logo"></div>
	<div class="midTop">
	<h1>城市切换<a href="#" title="苏州">[苏州]</a></h1>
	</div>
	<div class="rightTop">
	<h1>
	  <p><%=link_to "登录",{:controller => 'personal_management', :action => 'login'}%>|
	  <%=link_to "免费注册", {:controller=>'personal_management',:action=>'register'}%>
	  <%if !session[:user_id].nil?%>|<%=link_to "个人设置", {:controller=>'personal_management',:action=>'edit',:id=>session[:user_id]}%><%end%></p>
	  <a href="#" title="点餐">点餐</a>
	  <%if !session[:user_id].nil? &&session[:user_name].upcase=="ADMIN" %><%=link_to "<span>后台(YUI)</span>",{:controller=>"management_yui",:action=>"main",:id=>session[:user_id]}%><%end%>
	  <%=link_to "添加点评",{:controller => 'review', :action => 'goreview'},:target=>"mainFrame"%>
	   <%if !session[:user_id].nil?%><%=link_to "添加商户",{:controller => 'shop', :action => 'new'}%><%end%>
	  </h1>
</div>	</div>
		<!-- begin: main navigation #nav -->
		<div id="nav"> <a id="navigation" name="navigation"></a>
			<!-- skiplink anchor: navigation -->
			<div id="nav_main">
				<ul>
					<li id="current"><a href="#">首页</a></li>
					<li><a href="#">美食</a></li>
					<li><a href="#">购物</a></li>
					<li><a href="#">生活</a></li>
					<li><a href="#">娱乐</a></li>
                    <li><a href="#">后台管理</a></li>
				</ul>
			</div>
                <div id="content1">
      <select class="whith150" name="美食">
        <option>美食1</option>
        <option>美食2</option>
        <option>美3</option>
        <option>美食4</option>
        <option>美食5</option>
      </select>
      <select class="whith150" name="所有菜系">
        <option>所有菜系</option>
      </select>
      <select class="whith150" name="所有地区">
        <option>所有地区</option>
      </select>
     <input type="button" class="button" value="搜索"></input>
    </div>
    <div id="content2" class="hidecontent"></div>
    <div id="content3" class="hidecontent"></div>
    <div id="content4" class="hidecontent"></div>
    <div id="content5" class="hidecontent"></div>
  </div>
		</div>
		<!-- end: main navigation -->
	<%=yield %>
		<!-- begin: #footer -->
		<div id="footer">Footer with copyright notice and status information<br />
</div>
		<!-- end: #footer -->
	</div>


	</body>
</html>
